View Issue Details

IDProjectCategoryView StatusLast Update
0001760T99X171.00 SKB EagleVOCpublic2025-04-07 10:04
Reporter(ALTech) Younkwang Jung Assigned To(SW) Jerry Lin Due Date
PrioritylowSeveritys4-minorReproducibilityhave not tried
Status closedResolutionnot a bug 
Summary0001760: [Smart3][UI540] Issue after returning from low-power mode
DescriptionHi Kerwin

Issue observed after returning from low-power mode during QA/BMT

The jira reported by SKB/QA is as follow.
https://jira.skbroadband.com/browse/BPM-20348

설정>시청환경>시스템설정>저전력모드> "5분" 설정 ( low-power_5min.png )
설정>시청환경>사용자맞춤설정>실시간 TV 설정 ( liveTvAfterWakeup.png )

[How to reproduce the issue]
wait 8 minutes after Sleep -> Wait 8 minutes after wakeup

[Actual result]
It is a Live channel screen black, and works only with "volume key" and "power key" at RCU

It is not reproducing in our QA team.
First of all, please analyze the attached log and video first.

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon , (SW) Jason Ling

Activities

(ALTech) Younkwang Jung

2023-07-10 18:58

developer  

BPM-20348.zip (21,916,392 bytes)
LiveTvAfterWakeup.png (372,306 bytes)
low-power_5min.png (79,040 bytes)   
low-power_5min.png (79,040 bytes)   

(ALTech) Younkwang Jung

2023-07-12 18:36

developer   ~0013619

Hi Jerry

This issue was not reproduced here, so JunGyu went to BMT and checked it.

This issue is observed only in the BMT test environment.
( STB and video capture equipment are connected. )

Video capture equipment is image.png
but this issue has not been observed in INTEK STB.

Please check the contents below.
1) The LED is blue even after wakeup.
    That is, it is estimated that there is a problem when returning from the low-power mode.
    
2) The user pressed the RCU power button to wake up the STB,
  but according to the log, it can be observed as follows.
  "reason=WAKE_REASON_HDMI"
07-12 15:21:54.761 I 3845 3845 PowerManagerService: Waking up from Asleep (uid=1000, reason=WAKE_REASON_HDMI, details=android.server.hdmi:WAKE)...
07-12 15:21:54.791 W 3845 3845 HdmiControlService: hdmi_wakeUp SendBroadcast Intent (com.skbtv.tv.wakeup) btv_hdmi_control_enabled : 0
07-12 15:34:05.287 D 3845 4704 PowerManagerService: btv-framework acquireWakeLockInternal: flags=0x1, tag="BTF_WAKELOCK", mWakefulness=1

3) The serial log observed during wake-up is as follows.
  customer pwrkeys for IR is 0xfe017f80
    use vddee new table!
    exit_reason:0x02
    Enter ddr resume
    DMC_DRAM_STAT3: 0x544 <== (?) please check it
    ddr resume time: 3224us
    store restore gp0 pll
    cfg15 3b00000
    cfg15 23b00000
    Little core clk resume rate 1800000000

Please check it

Thank you
YK.Jung
image.png (1,820,321 bytes)
수유국사 (2).zip (622,651 bytes)

(SW) Jerry Lin

2023-07-18 16:04

developer   ~0013645

Hi YK,
1) The LED is blue even after wakeup.
--> The LED color is controled by SPtek.

2) The user pressed the RCU power button to wake up the STB, but according to the log, it can be observed as follows. "reason=WAKE_REASON_HDMI"
--> I think this function will trigger WAKE_REASON_HDMI event.
The file is in frameworks/base/services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java

void onHotplug(int portId, boolean connected) {
        assertRunOnServiceThread();
        mCecMessageCache.flushAll();
        // We'll not clear mIsActiveSource on the hotplug event to pass CETC 11.2.2-2 ~ 3.
        if (WAKE_ON_HOTPLUG && connected && mService.isPowerStandbyOrTransient()) {
            Slog.d(TAG, "JERRY : onHotplug call HdmiControlService wakeUp");
            mService.wakeUp();
        }
        if (!connected) {
            Slog.d(TAG, "onHotplug activeness reset to unknown");
            // reset the activeness and connection state
            mSetActiveByTv = false;
            HdmiCecActiveness.enableState(mService.getContext(), true);
            getWakeLock().release();
        }
    }

3) The serial log observed during wake-up is as follows.
--> Please help to check with AMLogic. we don't have the source code of bl30.bin
jerry@010870-build57-workstation:~/project/Eagle/BFX_AT100/bootloader/uboot-repo$ grep -r "DMC_DRAM_STAT3" *
Binary file bl30/bin/tl1/bl30.bin matches
Binary file bl30/bin/g12a/bl30.bin matches
Binary file bl30/bin/g12b/bl30.bin matches
Binary file build/u-boot.bin.sd.bin matches
Binary file build/u-boot.bin matches
Binary file build/u-boot.bin.usb.tpl matches
Binary file fip/_tmp/bl30.bin matches
Binary file fip/_tmp/bl30_new.bin matches
Binary file fip/_tmp/bl30_new.bin.enc matches
Binary file fip/_tmp/bl30_zero.bin matches
Binary file fip/_tmp/u-boot.bin.sd.bin matches
Binary file fip/_tmp/u-boot.bin matches
Binary file fip/_tmp/bl30_new.bin.g12.enc matches
Binary file fip/_tmp/u-boot.bin.usb.tpl matches

Jerry

(ALTech) Younkwang Jung

2023-07-21 15:52

developer   ~0013671

Hi Jerry

Is there any update?

Thank you
YK.Jung

(SW) Jerry Lin

2023-07-24 18:03

developer   ~0013689

Hi YK,
About 2) The user pressed the RCU power button to wake up the STB, but according to the log, it can be observed as follows. "reason=WAKE_REASON_HDMI"
--> I think this function will trigger WAKE_REASON_HDMI event.
--> I can provide you test FW that the WAKE_REASON_HDMI event disabled in HdmiCecLocalDevicePlayback.java.
     And please help to check this issue can be solved or not.

Jerry

(SW) Jerry Lin

2023-07-24 20:11

developer   ~0013692

Hi YK,
upload test FW to
/release_by_fxn/temp_wfh/jerry/eagle/mantis_1760/ATV10/usb_bfx-at100_V15.536.37.zip

Jerry

(ALTech) Younkwang Jung

2023-07-26 09:04

developer   ~0013725

HI Jerry

This needs to be tested by the SKB QA team, so we need to match the HomeUI version.
So please make a test FW by applying the modified patch based on the 15.540.12.
And Please use the FW version 15.540.121.

Thank you
YK.Jung

(SW) Jerry Lin

2023-07-26 11:17

developer   ~0013729

Hi YK,
i upload test FW to
/release_by_fxn/temp_wfh/jerry/eagle/mantis_1760/ATV10/usb_bfx-at100_V15.540.121.zip
Please help to verify and get log message.

Jerry

(ALTech) Younkwang Jung

2023-07-27 16:57

developer   ~0013746

Hi Jerry

I requested a test, but SKB QA team said they will give me feedback after handling other urgent tasks.
I think I can get a feedback before next Monday
I'll let you know when I get the results.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-07-31 10:08

developer   ~0013762

Hi Jerry

I received feedback from SKB QA.
He did the test 10 times, but the 10th wake-up was OK.
However, there was a problem with the video output twice. ( 2 error / 10 try )
Attach a video file.

And I asked for a log,
The SKB QA team says it is not possible to collect logs. perhaps the USB recognition itself is not working

Is there anything else you can review?

Thank you
YK.Jung

(SW) Jerry Lin

2023-07-31 17:43

developer   ~0013775

Hi YK,

1. Does this issue happen on Youtube?
2. Please use the following commands to get rawedid and disp_mode.
--> cat /sys/class/amhdmitx/amhdmitx0/rawedid
--> cat /sys/class/amhdmitx/amhdmitx0/disp_mode

Jerry

(ALTech) Younkwang Jung

2023-08-01 12:36

developer   ~0013783

Hi Jerry

>> 1. Does this issue happen on Youtube?
    why do you check about YouTube?

>> 2. Please use the following commands to get rawedid and disp_mode.
>> --> cat /sys/class/amhdmitx/amhdmitx0/rawedid
>> --> cat /sys/class/amhdmitx/amhdmitx0/disp_mode
It is difficult to check the information right now. SKB QA team cannot collect the above information.
So we have to go and collect them ourselves.
Therefore, I want to proceed with log collection through SoS (log collection system by network)
There will be all the above data.
I'll give you the information when I get it.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-08-02 09:36

developer   ~0013797

Hi Jerry

Issue that occurred during additional test from SKB QA team has been reported
https://jira.skbroadband.com/browse/BPM-20348

Please check the log and the right side of the middle line for the video.
( Screen flickering is observed during video output. )

Please check it

Thank you
YK.Jung
BPM-20348_2023-0802.zip (13,319,611 bytes)
image-2.png (373,509 bytes)

(SW) Jerry Lin

2023-08-04 16:39

developer   ~0013819

Hi YK,
I check with the log and video you provided.
At the time (from 2023-08-02 09:21:46 to 2023-08-02 09:21:56) of the video , i didn't see the cause of the Screen flicking.
At present, it seems that is should apper Live TV channel after playing AD.
I wonder if Amlogic and Sptek hav any ideas ?

Jerry

(SW) Kerwin Chen

2025-04-07 10:04

developer   ~0017427

no activity for this issue

Issue History

Date Modified Username Field Change
2023-07-10 18:58 (ALTech) Younkwang Jung New Issue
2023-07-10 18:58 (ALTech) Younkwang Jung Status new => assigned
2023-07-10 18:58 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-07-10 18:58 (ALTech) Younkwang Jung File Added: BPM-20348.zip
2023-07-10 18:58 (ALTech) Younkwang Jung File Added: LiveTvAfterWakeup.png
2023-07-10 18:58 (ALTech) Younkwang Jung File Added: low-power_5min.png
2023-07-10 18:58 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-07-10 18:58 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-07-11 13:36 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jerry Lin
2023-07-12 18:36 (ALTech) Younkwang Jung Note Added: 0013619
2023-07-12 18:36 (ALTech) Younkwang Jung File Added: image.png
2023-07-12 18:36 (ALTech) Younkwang Jung File Added: 수유국사 (2).zip
2023-07-14 10:02 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-07-18 16:04 (SW) Jerry Lin Note Added: 0013645
2023-07-21 15:52 (ALTech) Younkwang Jung Note Added: 0013671
2023-07-21 15:53 (ALTech) Younkwang Jung Priority high => low
2023-07-24 18:03 (SW) Jerry Lin Note Added: 0013689
2023-07-24 20:11 (SW) Jerry Lin Note Added: 0013692
2023-07-26 09:04 (ALTech) Younkwang Jung Note Added: 0013725
2023-07-26 11:17 (SW) Jerry Lin Note Added: 0013729
2023-07-27 16:57 (ALTech) Younkwang Jung Note Added: 0013746
2023-07-31 10:08 (ALTech) Younkwang Jung Note Added: 0013762
2023-07-31 10:08 (ALTech) Younkwang Jung File Added: 화면 깜빡임.mp4
2023-07-31 17:43 (SW) Jerry Lin Note Added: 0013775
2023-08-01 12:36 (ALTech) Younkwang Jung Note Added: 0013783
2023-08-02 09:36 (ALTech) Younkwang Jung Note Added: 0013797
2023-08-02 09:36 (ALTech) Younkwang Jung File Added: BPM-20348_2023-0802.zip
2023-08-02 09:36 (ALTech) Younkwang Jung File Added: image-2.png
2023-08-04 16:39 (SW) Jerry Lin Note Added: 0013819
2025-04-07 10:04 (SW) Kerwin Chen Status assigned => closed
2025-04-07 10:04 (SW) Kerwin Chen Resolution open => not a bug
2025-04-07 10:04 (SW) Kerwin Chen Note Added: 0017427